### “Spin the Wheel” Documentation by “Petterson Marques from EveGames” v1.0

# “Spin the Wheel”

Created: 12/08/2020
By: Petterson Marques
Email: evegamesstudio@gmail.com

Thank you for purchasing our game. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

## Table of Contents

1. Game Structure (code and screens)
2. Change the Images
3. Export to HTML5
4. Upload the game to website
5. Export to Android (Intel XDK)
6. Sources and Credits

### A) Game Structure - top

IMPORTANT: THIS GAME WAS DEVELOPED USING CONSTRUCT2 RELEASE 269.

## 1) Game screens (code explained)

The code is self-explanatory since it is all commented:

### CODE (GAME)

The code is organized by groups. Each group manages something different in the code.

### B) Change the Images - top

Open Construct2 then double-click on the images you want to chage.

In the image editor window you can make a variety of changes including: erase, paint, draw, rotate, size. Also you can set origin point and change the collision boundaries.

The new images should be the same size to reflect the same game experience.

After that you just need to save, export and publish the game.

### C) Export to HTML5 - top

Here are the 3 steps necessary to export your game to HTML5:

### D) Upload the game to website - top

In order to add the games to your website or blog (wordpress), you just need to create an iframe and link to the folder you uploaded the game to it. For example, if you upload the game to the folder http://www.website.com/game/mygame/, you will need to create an iframe like this:

<iframe src="http://www.website.com/game/mygame/" width="1280" height="720"></ifame>

1. Where the SRC is the folder where you upload the game
2. WIDTH is how wide you want the game to be in the page.
3. HEIGHT is how tall you want the game to be in the page.

### E) Export to Android (Intel XDK) - top

IMPORTANT: In order to export to Mobile, you need a Personal or Business license.

After you export the game to Cordova, you can import it using PhoneGap Build, the Intel XDK or Ludei.

### F) Sources and Credits - top

Lead programmer: Petterson Marques

Once again, thank you so much for purchasing this game. As I said at the beginning, I'd be glad to help you if you have any questions relating to this game. No guarantees, but I'll do my best to assist. If you have a more general question relating to the games on Codecanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Go To Table of Contents